﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleNoteLib.Base64
{
    internal static class Base64Coder
    {
        internal static string EncodeBase64(string toEncode)
        {
            byte[] bytes = Encoding.UTF8.GetBytes(toEncode);
            return Convert.ToBase64String(bytes);
        }
    }
}
